package com.yst.webplugin.annotation;


import com.yst.webplugin.valid.Default;
import com.yst.webplugin.valid.IdValid;

import java.io.Serializable;
import java.lang.annotation.*;

@RequestParamClass(paramClass = ParamDelete.class, useModelClass = false)
@ResultType(resultTypes = {Boolean.class})
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Delete {
    Class<? extends Serializable> modelClass();
    String keyField() default "id";
    DeleteType deleteType() default DeleteType.logic;
    String deleteTime() default "deleteTime";
    String deleteUserId() default "deleteUserId";
}
